﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CricketAdmin.master" AutoEventWireup="true"
    CodeFile="MyProfile.aspx.cs" Inherits="MyProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:HiddenField ID="hdn1" runat="server" />
    <asp:HiddenField ID="hdn2" runat="server" />
    <asp:HiddenField ID="hdn3" runat="server" />
    <div class="container-fluid">
        <h3 class="page-title">
            My Profile<small></small>
        </h3>
        <br />
        <div class="alert alert-danger" id="layerError" runat="server" style="display: none;">
        </div>
        <div class="alert alert-success" id="layerSuccess" runat="server" style="display: none;">
        </div>
        <div class="row-fluid">
            <div class="span12">
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            My Profile</div>
                    </div>
                    <div class="portlet-body form">
                        <div class="form-horizontal form-view">
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            First Name<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtFirstName" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvFN" runat="server" ErrorMessage="Please enter first name"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtFirstName"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Last Name<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtLastName" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter last name"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtLastName"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Phone #<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtPhone" runat="server" onkeypress="return isNumberKey(event)"
                                                MaxLength="10" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvPhone" runat="server" ErrorMessage="Please enter phone #"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtPhone"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Email Address<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtEmailAddress" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please enter phone email address"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtEmailAddress"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Address<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtAddress" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvCity" runat="server" ErrorMessage="Please enter address"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtAddress"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            City<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtCity" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvState" runat="server" ErrorMessage="Please enter city"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtCity"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            State<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtstate" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvCP" runat="server" ErrorMessage="Please enter state"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtstate"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Pin code<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtPinCode" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="Please enter pincode"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtPinCode"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Username<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtUsername" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please enter username."
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtUsername"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Password<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtPassword" runat="server" CssClass="span6 m-wrap"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="Please enter password"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtPassword"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Commission<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtCommission" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Please enter Commission"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtCommission"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            `Limit<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtLimit" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Please enter limit"
                                                ValidationGroup="MyProfiile" CssClass="required" ControlToValidate="txtLimit"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                             <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Min Limit<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtMinLimit" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            
                                        </div>
                                    </div>
                                </div>
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            Max Limit<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtMaxLimit" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="control-group">
                                        <label class="control-label">
                                            90-110 Commission<span class="required">*</span></label>
                                        <div class="controls">
                                            <asp:TextBox ID="txtNECommission" runat="server" CssClass="span6 m-wrap" Enabled="false"></asp:TextBox>
                                            
                                        </div>
                                    </div>
                                </div>
                                
                            </div>
                            <div class="form-actions">
                                <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="btn red" 
                                    ValidationGroup="MyProfiile" onclick="btnSubmit_Click" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
